<?php
$this->breadcrumbs=array(
        'Felhasználók'=>array('index'),
        $model->username,
);
?>

<div class='printableArea'>


    <fieldset>
        <legend>Alap adatok</legend>


        <?php $this->widget('bootstrap.widgets.BootDetailView',array(
                'data'=>$model,
                'attributes'=>array(
		'username',
		'email',
	),
        ));

        ?>

    </fieldset>

    <fieldset>
        <legend>Kezelt háztömbök</legend>

        <?php
        $this->widget('bootstrap.widgets.BootGridView', array(
            'dataProvider'=>$blockDataProvider,
            'summaryText'=>'',
            'type'=>'striped condensed',
            'pager'=>array(
                'class'=>'bootstrap.widgets.BootPager'
            ),
             'columns'=>array(
                'name',
                'code',
                'address'
                )
            ));

?>

    </fieldset>

</div>
